<template>
  <div>
    <!-- 这是头部导航栏区域 -->
    <el-row>
      <el-col :span="24">
        <el-carousel indicator-position="outside">
          <el-carousel-item v-for="item in imagesbox" :key="item.id">
            <img :src="item.idView" class="image" />
          </el-carousel-item>
        </el-carousel>
      </el-col>
    </el-row>

    <!-- 这是中间内容区域 -->
    <!-- 这是尾部区域 -->
  </div>
</template>

<script>
export default {
  data() {
    return {
      imagesbox: [
        { id: 0, idView: require("../images/banner-1.jpg") },
        { id: 1, idView: require("../images/banner-2.jpg") },
        { id: 2, idView: require("../images/banner-3.jpg") },
        { id: 3, idView: require("../images/banner-4.jpg") }
      ]
    };
  },
  methods: {},
  mounted() {}
};
</script>

<style>
.el-carousel__item h3 {
  color: #475669;
  font-size: 18px;
  opacity: 0.75;
  line-height: 600px;
  margin: 0;
}
.el-carousel__container {
  height: 600px;
}
.el-carousel__container .image {
  width: 100%;
  height: 100%;
}
</style>
